export default {
  title: "eBay客服",
  moduleName: "crm",
  order: 15,
  menuList: [
    {
      path: "home",
      component: "Layout",
      redirect: "noRedirect",
      alwaysShow: false,
      meta: {
        title: "首页",
        icon: "user",
      },
      children: [
        {
          path: "index",
          meta: {
            title: "首页",
            icon: "user",
          },
        },
      ],
    },
    {
      path: "emailFolder",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "邮箱文件夹",
        icon: "guide",
      },
      children: [
        {
          path: "write",
          meta: {
            title: "写信",
            icon: "guide",
          },
        },
        {
          path: "myFocus",
          alwaysShow:true,
          meta: {
            title: "我的关注",
          },
          children: [
            {
              path: "inbox",
              meta: {
                title: "收件箱",
                icon: "guide",
              },
              children: [
                {
                  path: "reply",
                  hidden: true,
                  meta: {
                    title: "收件箱回复",
                    icon: "guide",
                  },
                }
              ],
            },
            {
              path: "unanswered",
              meta: {
                title: "未回复",
                icon: "guide",
              },
            },
            {
              path: "followUpMatters",
              meta: {
                title: "跟进事项",
                icon: "guide",
              },
            },
            {
              path: "importantEmail",
              meta: {
                title: "重要邮件",
                icon: "guide",
              },
            }
          ],
        },
        {
          path: "outbox",
          meta: {
            title: "发件箱",
            icon: "guide",
          },
        },
        {
          path: "sendFailed",
          meta: {
            title: "发送失败",
            icon: "guide",
          },
        },
        {
          path: "draft",
          meta: {
            title: "草稿箱",
            icon: "guide",
          },
        },
        {
          path: "recovery",
          meta: {
            title: "回收站",
            icon: "guide",
          },
        },
      ],
    },
    {
      path: "accountPerformance",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "账号表现",
        icon: "guide",
      },
      children: [
        {
          path: "monetizeSeller",
          meta: {
            title: "卖家表现",
            icon: "guide",
          },
        },
        {
          path: "sellerCenter",
          alwaysShow:true,
          meta: {
            title: "卖家中心",
            icon: "guide",
          },
          children: [
            {
              path: "badTrading",
              meta: {
                title: "不良交易",
                icon: "guide",
              },
            },
            {
              path: "seasWarehouseService",
              meta: {
                title: "海外仓标准服务",
                icon: "guide",
              },
            },
          ],
        },
        {
          path: "poorRatingPerformance",
          meta: {
            title: "中差评表现",
            icon: "guide",
          },
        },
      ]
    },
    {
      path: "afterSalesMana",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "售后管理",
        icon: "guide",
      },
      children: [
        {
          path: "workOrder",
          meta: {
            title: "工单管理",
            icon: "guide",
          },
        },
        {
          path: "refund",
          meta: {
            title: "退款管理",
            icon: "guide",
          },
        },
        {
          path: "returnGoods",
          meta: {
            title: "退换货管理",
            icon: "guide",
          },
        }
      ],
    },
    {
      path: "emailSettings",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "邮件设置",
        icon: "guide",
      },
      children: [
        {
          path: "temp",
          meta: {
            title: "邮件模板",
            icon: "guide",
          },
        },
        {
          path: "rule",
          meta: {
            title: "邮件规则",
            icon: "guide",
          },
        },
        {
          path: "autoEvaluate",
          meta: {
            title: "自动评价",
            icon: "guide",
          },
        },
        {
          path: "autoReply",
          meta: {
            title: "自动回复",
            icon: "guide",
          },
        },
        {
          path: "cusBlacklist",
          meta: {
            title: "客户黑名单",
            icon: "guide",
          },
        },
        {
          path: "questionType",
          meta: {
            title: "问题类型",
            icon: "guide",
          },
        },
        {
          path: "emailClassify",
          meta: {
            title: "邮件分类",
            icon: "guide",
          },
        },
        {
          path: "aiMailTemplate",
          meta: {
            title: "AI邮件模板",
            icon: "guide",
          },
        },
        {
          path: "evaluateTemp",
          meta: {
            title: "评价模板",
            icon: "guide",
          },
        },
      ],
    },
    {
      path: "mailManagement",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "邮件管理",
        icon: "guide",
      },
      children: [
        {
          path: "caseTreatment",
          meta: {
            title: "个案处理",
            icon: "guide",
          },
        },
        {
          path: "payDispute",
          meta: {
            title: "付款纠纷",
            icon: "guide",
          },
        },
        {
          path: "returnRequest",
          meta: {
            title: "退货请求",
            icon: "guide",
          },
        },
        {
          path: "notReceive",
          meta: {
            title: "未收到货",
            icon: "guide",
          },
        },
        {
          path: "evaluationManagement",
          meta: {
            title: "中差评管理",
            icon: "guide",
          },
          // children: [
          //   {
          //     path: "sellerParity",
          //     meta: {
          //       title: "卖家评价",
          //       icon: "guide",
          //     },
          //   },
          // ],
        },
        {
          path: "emailMana",
          meta: {
            title: "邮件管理",
            icon: "guide",
          },
        },
        {
          path: "sysMail",
          meta: {
            title: "系统邮件",
            icon: "guide",
          },
        },
        {
          path: "cancelDeal",
          meta: {
            title: "取消交易",
            icon: "guide",
          },
        },
        {
          path: "unpracticalDispute",
          meta: {
            title: "未付款发起争议",
            icon: "guide",
          },
        },
        {
          path: "excelTaskReport",
          meta: {
            title: "Excel任务报告",
            icon: "guide",
          },
        },
      ]
    },
    {
      path: "reportManagement",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "报表管理",
        icon: "guide",
      },
      children: [
        {
          path: "servicePerformance",
          meta: {
            title: "客服绩效",
            icon: "guide",
          },
        },
        {
          path: "emailAnalysis",
          meta: {
            title: "邮件分析",
            icon: "guide",
          },
        },
        {
          path: "productPerformance",
          meta: {
            title: "产品表现",
            icon: "guide",
          },
        },
        {
          path: "saleAnalysisPre",
          meta: {
            title: "售前分析",
            icon: "guide",
          },
        },
        {
          path: "saleAnalysisSale",
          meta: {
            title: "售中分析",
            icon: "guide",
          },
        },
        {
          path: "saleAnalysisAfter",
          meta: {
            title: "售后分析",
            icon: "guide",
          },
        }
      ],
    },
  ],
};
